Learn R Programming

sig (version 0.0-6)

[: Indexing for siglists

Description

Get or set a subset of a siglist.

Usage

# S3 method for siglist
[(x, i, ...)

# S3 method for siglist [[(x, i, ...)

# S3 method for siglist [(x, ...) <- value

# S3 method for siglist [[(x, ...) <- value

Arguments

x

A siglist object.

i

An integer vector index.

...

Passed from other index methods.

value

A value to set the subset to.

Value

A siglist.

See Also

Extract

Examples

Run this code
# NOT RUN {
methods_sigs <- list_sigs(pkg2env(methods))
methods_sigs[1:5]
methods_sigs[[1]]
# }

Run the code above in your browser using DataLab